<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<script type="text/javascript" src="../addons/zsk_award/js/common.js"></script>
<style type="text/css">
	.award{width: 100%;margin:5px auto;border-bottom:1px solid #cccccc;padding-left: 10px;padding-right: 10px;}
	.row{margin: 5px auto;width: 98%;}
	.navbar{background-color: #59C2E0;color:#FFF;height: 48px;line-height: 48px;text-align: center;}
</style>
</head>
<body style="margin:0px;">
<div> 
<div class="navbar" style="background-color: #FFCC66;">
	<div>中奖记录</div>
</div>
 
{loop $result $index $item}
<div class="award">
	<div class="row">
		<div>活&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;动：{$item['activityname']}</div>
	</div>
	<div class="row">
		<div>奖&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;品：<span style="color:<?php $num=intval($item['res']);
		if($num==1){echo '#FF4444;';}else if($num==2){ echo '#FF7F27'; }else{ echo '#11D451'; }?>">{$item['res']} 等奖 （{$item['awardrecord']}）<span></div>
	</div>
	<div class="row">
		<div>兑奖信息：{$item['username']}&nbsp;&nbsp;{$item['phonenumber']}&nbsp;&nbsp;{$item['address']}</div>
	</div>
</div>
{/loop}   
</body>
</html>
